package com.dachuang.canjiren.service;

import com.dachuang.canjiren.entity.Work;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dachuang.common.utils.R;
import io.swagger.models.auth.In;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-27
 */
public interface WorkService extends IService<Work> {
    /**
     * 发布工作
     * @param userId
     * @param mechanism
     * @param name
     * @param demand
     * @param mail
     * @param introduce
     * @param phone
     * @param matter
     * @param wages
     * @return
     */
    R insertWork(Integer userId,String mechanism,String name,String demand,String mail,String introduce,String phone, String matter,String wages,Integer state);

    /**
     * 工作列表
     * @return
     */
    R selectWork();
}
